<? $page_title='待报价采购需求' ?>
<?include "FASHION/page_header.phtml"?>
<script language="JavaScript" src="<{$root}>/util/datepicker/WdatePicker.js"></script>

<form method="get"><nobr>
	<?= htmlutil::makeTimesRangeBox() ?>
	&nbsp; <input type="submit" value="搜索" />
</nobr></form>

<table border="0" class="list"><tbody>
<tr class="nobg">
	<th>时间</th>
	<th>相关单据号</th>
	<th>报价状态</th>
	<th>总数量</th>
	<th>用户</th>
	<th>操作</th>
</tr>
<? foreach($list as $d){ ?>
<tr>
	<td class="nowrap" width="130"><?=date('Y/m/d H:i', $d.addtime)?></td>
	<td width="25%" class="text"><?$d.demands?></td>
	<td><{if $d.quote_flow=='0'}>未完<{else}>完毕<{/if}></td>
	<td class="decimal"><{$d.amount}></td>
	<td><?$d.user_name?></td>
	<td class="nowrap">
		<a href="<?url("procsum-view/id/".$d.id)?>" class="view" title="查看采购需求"></a>
		<a href="<?url("procsum-elect/id/".$d.id)?>" class="quote" title="录入报价"></a>
	</td>
</tr>
<? } ?>
</tbody></table>

<?= Html::pager($pager) ?>

<?include "FASHION/page_footer.phtml"?>
